package Com.amit.corejava;

public class Lab14 {

	int id;
	
	String name;
	
	Lab14(int i, String n)
	{
		id=i;
		name=n;
	}
	
	void display()
	{
		System.out.println(id+" "+name);
	}
	
	public static void main(String[] args) {
		
		Lab14 l1=new Lab14(1,"amit");
		
		Lab14 l2=new Lab14(2,"anil");
		
		l1.display();
		
		l2.display();
		
		
		
		
		
		
		

	}

}
